package com.msh.artascope.web.common.model;

import  com.msh.artascope.interfaces.ILoginInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class LoginInfo implements ILoginInfo,Serializable {
  @NotNull( message = "用户名不能为空")
  @Schema(name = "用户名")
  private String username;
  @NotNull(message = "密码不能为空")
  @Schema(name = "密码")
  private String password;
  @NotNull(message = "唯一key不能为空")
  @Schema(name = "唯一key")
  private String uniqueKey;
  @NotNull(message = "验证码不能为空")
  @Schema(name = "验证码")
  private String verifyCode;
}
